<div class="header">
    <div class="t_bg">
        <div class="top">
            <div class="lang">
                @if($select && $select == 'index')
                <a href="" class="on">中 文</a>|
                <a href="{{route('Home.Index.enIndex')}}">English</a>
                @endif
            </div>
            <div class="search">
                <input name="" type="text" placeholder="请输入关键字">
                <input name="" type="submit" value="">
            </div>
        </div>
    </div>
    <div class="head clearfix">
        <div class="logo"><a href="@if(isset($web_info['url'])){{$web_info['url']}} @endif"><img src="@if(isset($web_info['logo_url'])){{$web_info['logo_url']}} @endif" alt="永德利"/></a></div>
        <div class="nav_m">
            <div class="n_icon">导航栏</div>
            <ul class="nav clearfix">
                <li  @if($select && $select == 'index')class="now" @endif><a href="{{route('Home.Index.index')}}">首页</a></li>
                <li @if($select && $select == 'about')class="now" @endif>
                    <a href="{{route('Home.Index.about')}}">关于我们</a>
                    <div class="er">
                        <div class="er_m">
                            <i>&nbsp;</i>
                            <ul>
                                @if(count($aboutUsClassifies) > 0)
                                @foreach($aboutUsClassifies as $aboutUsClassify)
                                <li><a href="{{route('Home.Index.about')}}?classify_id={{$aboutUsClassify->id}}">{{$aboutUsClassify->name}}</a></li>
                                @endforeach
                                @endif
                            </ul>
                        </div>
                    </div>
                </li>
                <li  @if($select && $select == 'product')class="now" @endif>
                    <a href="{{route('Home.Index.product')}}">产品</a>
                    <div class="er">
                        <div class="er_m">
                            <i>&nbsp;</i>
                            <ul>
                            @if(count($productClassifies) > 0)
                                @foreach($productClassifies as $productClassify)
                                        <li><a href="{{route('Home.Index.product')}}?classify_id={{$productClassify->id}}">{{$productClassify->name}}</a></li>
                                @endforeach
                            @endif
                            </ul>
                        </div>
                    </div>
                </li>
                <li @if($select && $select == 'friend')class="now" @endif>
                    <a href="{{route('Home.Index.friend')}}">合作伙伴</a>
                </li>
                <li @if($select && $select == 'join')class="now" @endif>
                    <a href="{{route('Home.Index.join')}}">人力资源</a>
                    <div class="er">
                        <div class="er_m">
                            <i>&nbsp;</i>
                            <ul>
                            @if(count($joinClassifies) > 0)
                                @foreach($joinClassifies as $joinClassify)
                                        <li><a href="{{route('Home.Index.join')}}?classify_id={{$joinClassify->id}}">{{$joinClassify->name}}</a></li>
                                    @endforeach
                            @endif
                            </ul>
                        </div>
                    </div>
                </li>
                <li @if($select && $select == 'news')class="now" @endif>
                    <a href="{{route('Home.Index.news')}}">新闻活动</a>
                    <div class="er">
                        <div class="er_m">
                            <i>&nbsp;</i>
                            <ul>
                            @if(count($newsClassifies) > 0)
                                @foreach($newsClassifies as $newsClassify)
                                        <li><a href="{{route('Home.Index.news')}}?classify_id={{$newsClassify->id}}">{{$newsClassify->name}}</a></li>
                                @endforeach
                            @endif
                            </ul>
                        </div>
                    </div>
                </li>
                <li @if($select && $select == 'contact' || $select && $select == 'book')class="now" @endif>
                    <a href="{{route('Home.Index.contact')}}">联系我们</a>
                    <div class="er">
                        <div class="er_m">
                            <i>&nbsp;</i>
                            <ul>
                                <li><a href="{{route('Home.Index.contact')}}">联系我们</a></li>
                                <li><a href="{{route('Home.Index.book')}}">在线留言</a></li>
                            </ul>
                        </div>
                    </div>
                </li>
            </ul>
        </div>
    </div>
</div>
